package com.qyl.cityInfo.service.impl;

import com.qyl.cityInfo.dao.UserDao;
import com.qyl.cityInfo.dao.impl.UserDaoImpl;
import com.qyl.cityInfo.dto.User;
import com.qyl.cityInfo.service.UserService;

public class UserServiceImpl implements UserService{
	
	UserDao userDao = new UserDaoImpl();

	@Override
	public User getUserByUserNameAndPwd(String username, String password) {
		
		return userDao.getUserByUserNameAndPwd(username,password);
	}

	@Override
	public User getUserById(Integer uid) {
		// TODO Auto-generated method stub
		return userDao.getUserById(uid);
	}

}
